package gl.pk.config;

import com.jfinal.kit.PathKit;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class ConfigFile {
    public static Properties getProperty() throws IOException {
        Properties p = new Properties();
        p.load(new FileReader(new File(PathKit.getPath(ConfigFile.class) + "/../../../config.txt")));
        return p;
    }
}
